package com.chc.web.reader.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chc.web.reader.entity.Reader;
import com.chc.web.reader.entity.ReaderParm;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/04/21/21:50
 * @Description:
 */
public interface ReaderService extends IService<Reader> {
    //保存用户
    boolean saveReader(Reader Reader);
    //查询用户列表
    IPage<Reader> list(ReaderParm readerParm);
    //根据用户名查询用户信息
    Reader loadUser(String username);

    IPage<ReaderParm> getReaderList(ReaderParm parm);
}
